<template>
  <!-- todolist内容条数信息 -->
  <span> 共 {{ TodoListIns.todoList.length }} 条 </span>
</template>

<script>
export default {
  name: "TodoInfo",
  //来源于: TodoList组件
  inject: ["TodoListIns"],
  mounted() {
    // console.log(this.TodoListIns);
  },
};
</script>